CC=pdflatex
FLAGS=-file-line-error -halt-on-error
SOURCES=zestaw4.tex

all: pdf clean

pdf: $(SOURCES)
	$(CC) $(FLAGS) -output-format pdf $(SOURCES)
dvi: $(SOURCES)
	$(CC) $(FLAGS) -output-format dvi $(SOURCES)
clean:
	rm -f *.snm *.nav *.log *.aux *.dvi *.out
